package cloud.xlh.digital_power_order.disruptor;

import cloud.xlh.digital_power_order.infrastructure.order.entity.OrderEntity;
import com.lmax.disruptor.EventFactory;
import org.springframework.stereotype.Component;

/**
 * Created with IntelliJ IDEA.
 *
 * @ project name : xlh_osms
 * @ Author: XuLeHuang
 * @ Date: 2023/8/22 21:49
 * @ Description:
 */

@Component
public class OrderFactory implements EventFactory<OrderEntity> {
    @Override
    public OrderEntity newInstance() {
        return new OrderEntity();
    }
}
